

Pod::Spec.new do |spec|

  spec.name         = "PrivatePod"
  spec.version      = "0.0.3"
  spec.summary      = "自定义封装库"
  #描述, 用于生成标签和提高搜索结果, 主要是类库的功能等, 尽量简短; 注意, 需要写在两个DESC中间
  spec.description  = <<-DESC
     TODO: Add long description of the pod here.
                   DESC

  spec.homepage     = "https://gitee.com/Lee0924/private-pod"


  spec.license      = "MIT"
  spec.ios.deployment_target = "12.0"
  spec.platform     = :ios, "12.0"

  spec.author             = { "Lee0924" => "Leejialin0924@163.com" }
  spec.source       = { :git => "https://gitee.com/Lee0924/private-pod.git", :tag => "#{spec.version.to_s}" }

  
  #toast提示
  spec.subspec 'SeekToast' do |ss|
  spec.source_files  = "PrivatePod", "SeekToast/**/*.{h,m}"
  #spec.exclude_files = "Classes/Exclude"
  end
  
  #网络请求框架
  spec.subspec 'HKHTTP' do |ss|
  spec.source_files  = "PrivatePod", "HKHTTP/**/**/*.{h.m}"
    spec.public_header_files = "Classes/**/*.h"
  end
  
  #JS
  spec.subspec 'WebViewJavascriptBridge' do |ss|
  spec.source_files  = "PrivatePod", "WebViewJavascriptBridge/**/*.{h,m}"
  end

  # spec.public_header_files = "Classes/**/*.h"


  # ――― Resources ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
  #
  #  A list of resources included with the Pod. These are copied into the
  #  target bundle with a build phase script. Anything else will be cleaned.
  #  You can preserve files from being cleaned, please don't preserve
  #  non-essential files like tests, examples and documentation.
  #

  # spec.resource  = "icon.png"
  # spec.resources = "Resources/*.png"

  # spec.preserve_paths = "FilesToSave", "MoreFilesToSave"


  # ――― Project Linking ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
  #
  #  Link your library with frameworks, or libraries. Libraries do not include
  #  the lib prefix of their name.
  #

  # spec.framework  = "SomeFramework"
  # spec.frameworks = "SomeFramework", "AnotherFramework"

  # spec.library   = "iconv"
  # spec.libraries = "iconv", "xml2"


  # ――― Project Settings ――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
  #
  #  If your library depends on compiler flags you can set them in the xcconfig hash
  #  where they will only apply to your library. If you depend on other Podspecs
  #  you can include multiple dependencies to ensure it works.

  # spec.requires_arc = true

  # spec.xcconfig = { "HEADER_SEARCH_PATHS" => "$(SDKROOT)/usr/include/libxml2" }
   spec.dependency "AFNetworking"

end
